<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<div class="blockBox rx blue">
    <div class="label">
        <h1>公司业务</h1>
        <div class="curl">&nbsp;</div>
    </div>

    <?php
    $i = 0;
    foreach($data as $item) {
         $div_class =  $i ==0 ? "firstItem" : '';
         $url = url('node/'.$item->nid);
     ?>
    <div class="textBox  <?php print $div_class; ?>">
            <a href="<?php print $url;?>" title="<?php print $item->title; ?>"><?php print $item->title;; ?></a>
    </div>
    <?php
    $i++;
    } ?>
</div>